package model

import (
	"time"
)

type AuJoin struct {
	Id            int       `xorm:"not null pk autoincr INT(11)"`
	Phone         string    `xorm:"not null VARCHAR(11)"`
	DealerId      int       `xorm:"not null INT(11)"`
	Username      string    `xorm:"not null VARCHAR(50)"`
	Comefrom      int       `xorm:"not null default 0 TINYINT(11)"`
	Status        int       `xorm:"not null default 1 TINYINT(4)"`
	EmpId         int       `xorm:"not null INT(11)"`
	Remark        string    `xorm:"not null VARCHAR(255)"`
	NextTraceTime time.Time `xorm:"DATETIME"`
	BookTime      time.Time `xorm:"not null DATETIME"`
	Createtime    time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' TIMESTAMP"`
}
